<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
	<title>滚图</title>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    <link href="${basePath}/admin/css/base.css" type="text/css" rel="stylesheet">
   	<style type="text/css">
		ul li{list-style:none;height:50px;}
	</style>
</head>
<body>
<p></p>
<div id="container" style="background:#f2ffe3 url(${basePath}/admin/images/main_00.jpg) left top repeat-x;">
<h2><#if gameComment.id??>更新<#else>添加</#if>滚图</h2>&nbsp;&nbsp;
     <form action="${basePath}/admin/gamecomment/<#if gameComment.id??>update<#else>save</#if>" method="POST">
      	<input type="hidden" name="gameComment.id" value="${gameComment.id!}"/>
      	<input type="hidden" name="game_id" value="${game_id!}"/>
      	<input type="hidden" name="gameComment.game_id" value="${gameComment.game_id!}"/>
      	<input type="hidden" name="gameComment.create_time" value="<#if game.create_time??>${game.create_time?string('yyyy-MM-dd HH:mm:ss')}<#else></#if>"/>
      	<ul>
        	<li>标题：		<input type="text" class="input_200" name="gameComment.title" value="${gameComment.title!}" />	${titleError!} </li>
        	<li>内容:		<textarea class="textarea_300" name="gameComment.content">${gameComment.content!}</textarea>	${contentError!} </li><br/>
        	<li>评分：		<input type="text" class="input_200" name="gameComment.grade" value="${gameComment.grade!'8.8'}" />	${gradeError!} </li>
        	<li>点赞数：	<input type="text" class="input_200" name="gameComment.useful" value="${gameComment.userfule!'0'}" readonly="readonly"/>	${userfulError!} </li>
        	<li>点弱数：	<input type="text" class="input_200" name="gameComment.unuseful" value="${gameComment.unuseful!'0'}" readonly="readonly"/>	${unusefulError!} </li>
        	<li>
        		是否显示:	
        				<#if gameComment.is_check?? && gameComment.is_check == 1>
	        				<input type="radio" name="gameComment.is_check" value="1" checked="checked"/> 是
	        				<input type="radio" name="gameComment.is_check" value="-1" /> 否
        				<#else>	
	        				<input type="radio" name="gameComment.is_check" value="1"/> 是
	        				<input type="radio" name="gameComment.is_check" value="-1" checked="checked"/> 否
        				</#if>
        				${disableError!}
        	</li>
        	<li>
  				<input type="reset" class="button_60" value="重置"	/>
  				<input type="submit" class="button_60" value="提交"	/>
        	</li>
           </ul>
      </form>
  </div>
</body>
</html>